package com.big.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//取消数据源自动配置
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.big"})
@EnableSwagger2
public class OssApplication {
    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class, args);
        System.out.println("**********OSS对象初始化完成**********");

    }
}

